module.exports = {
  rootDir: '../../tests',
  testMatch: ['<rootDir>/**/*.test.{ts,tsx}'],
  preset: 'ts-jest',
  testEnvironment: 'jsdom',
  transform: {
    '\\.(gif|jpeg|jpg|png|css|less)': '<rootDir>/../config/jest/file-transform.js',
  },
  collectCoverageFrom: [
    "**/*.{ts,tsx}",
    "!**/*.d.ts"
  ],
  cacheDirectory: '<rootDir>/.cache/jest',
  verbose: true,
};